/*--------------------------------------------------------------------------------*/
#ifndef __DEMO__
#define __DEMO__
/*--------------------------------------------------------------------------------*/
#include "primitives.h"
#include "object.h"
#include "util.h"
#include "graphic_text.h"
#include "input_system.h"
#include "entity_man.h"
#include "component_state_chart.h"
#include "graphic_animation_manager.h"
#include "graphic_atlas_renderer.h"
#include "ggpvision.h"
/*--------------------------------------------------------------------------------*/
#define MENU_NEW_GAME 	0
#define MENU_QUIT		1
/*--------------------------------------------------------------------------------*/
BEGIN_DECLARE_STATE_CHART( DEMO )

	DECLARE_STATES
		MENU_STATE,
		GAME_STATE

	DECLARE_EVENTS
		BUTTON_EVENT

	DECLARE_ATTRIBUTES
		GRAPHIC_FONT::REF
			Font;
		GRAPHIC_TEXT
			TitleText,
			InfoText;
		GRAPHIC_TEXT_CONTAINER
			TextContainer;
		GRAPHIC_TEXT_FPS
			FpsText;
		ENTITY_MAN
			Man;
		ARRAY< COMPONENT_ENTITY_2D::REF >
			BulletTable;
		INTERFACE_MENU
			MenuContainer;
		INTERFACE_CONTAINER::REF
			TestContainer;
		GRAPHIC_ATLAS_RENDERER
			AtlasTest;
		GRAPHIC_ATLAS
			Atlas;


END_DECLARE_STATE_CHART();
/*--------------------------------------------------------------------------------*/
#endif
